/**
 * 
 */
package cn.edu.bjtu.entity.impl.lightweight;

import java.util.Map;

import cn.edu.bjtu.entity.impl.BaseHttpContextWithoutLock;

/**
 * @author alex
 *
 */
public abstract class BaseDefaultConfiged<R> extends BaseHttpContextWithoutLock<R>{
	@Override
	public int getPort() {
		return 8082;
	}
	@Override
	public String getHostname() {
		return "localhost";
	}
	@Override
	public Map<String, Object> getResultMapForRender() {
		return null;
	}
	@Override
	public String getMethod() {
		return METHOD_POST;
	}
	/**
	 * 链式调用
	 * @return
	 */
	public BaseDefaultConfiged<R> convenienceFire(){
		super.fire();
		return this;
	}
}
